package com.yc.springboot.action;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Company 源辰信息
 *
 * @author navy
 * @date 2024/8/18
 * Email haijunzhou@hnit.edu.cn
 */
@RestController
@Slf4j
public class TestAction {

    @RequestMapping("test")
    String hello(){
        log.debug("========debug 调试=======");
        log.info("========info 信息=======");
        log.warn("========warn 告警=======");
        log.error("========debug 错误=======");
        return "hello spring test";
    }
}
